/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: EaCfg.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: Ea
*
*******************************************************************************/

#ifndef EACFG_H
#define EACFG_H

/** HEADER FILES **/
#include "EaType.h"
#include "EaRte.h" 


/** MACRO DEFINITION **/
#define EA_BLOCK_NUM        12


/** TYPEDEF DEFINITION **/
typedef uint16 EaBlockNumberType;

typedef uint16  EaBlockSizeType;

typedef uint8 EaDeviceIndexType;

typedef struct
{
    EaBlockSizeType EaBlockSize;
    EaBlockNumberType EaBlockNumber;
    EaDeviceIndexType EaDeviceIndex;
    MemAccAddressAreaConfigurationType* EaMemAccAddressressArea;
}EaBlockConfigurationType;

/** LOCAL DATA DEFINITION **/
extern const EaBlockConfigurationType EaBlockConfiguration[EA_BLOCK_NUM];


#endif
